package com.lwy.qiuchao.member.dao;

import com.lwy.qiuchao.member.entity.MemeberEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lwy.qiuchao.member.vo.MemberInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author lwy
 * @email ${email}
 * @date 2020-12-01 15:38:12
 */
@Mapper
public interface MemeberDao extends BaseMapper<MemeberEntity> {

    MemberInfoVo getMemberInfo(@Param("mId") Long mId);

    MemeberEntity getMemberEntity(@Param("token") String token);

    MemeberEntity hasToken(@Param("username") String username);

    MemeberEntity memberInfo(@Param("token") String token);

}
